<?php
defined('BASEPATH') OR exit('No direct script access allowed');
// +----------------------------------------------------------------------
// |　网站管理后台表单验证规则配置
// +----------------------------------------------------------------------
// | Copyright (c) 2015
// +----------------------------------------------------------------------
// | Author: baiping 125618036@qq.com http://www.webipcode.com
// +----------------------------------------------------------------------
// | 2015-6-29下午6:41:48
// +----------------------------------------------------------------------

$config = array(
		//用户登录
		'patent_apply' => array(
				array(
						'field' => 'real_name',
						'label' => '称呼',
						'rules' => 'trim|required|min_length[2]|max_length[12]',
					),
				array(
						'field' => 'mobile',
						'label' => '手机事情',
						'rules' => 'trim|required|numeric',
					),
				array(
						'field' => 'verify',
						'label' => '验证码',
						'rules' => 'trim|required',
					),
				),
		
);